

#include <iostream>

using namespace std;

int puissance(int a, int b)
{
    int i;
    int r;
    r = 1;
    for (i = 0; (i<b); i = (i+1)) {
        r = (r*a);
    }
    return r;
}

int f1()
{
    int i;
    for (i = 0; (i<10); i = (i+1)) {
        cout << puissance(2, i);
        cout << "\n";
    }
    return 0;
}

int main(void)
{
    cout << ((puissance(5, 2)*2)+1);
    cout << " = 51\n";
    f1();

    return 0;
}

